<meta charset="utf-8">
<title>{$site_name}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="">
<meta name="description" content="">
<script src="/static/js/jquery-3.2.1.min.js"></script>
<script src="/static/layui/layui.js"></script>
<!--<script src="/static/layui/lay/dest/layui.all.js"></script>-->
<script src="/static/js/core.js"></script>
<link rel="stylesheet" href="/static/layui/css/layui.css">
<!--<link rel="stylesheet" href="/static/layui/css/modules/layer/layer.css">-->
<link rel="stylesheet" href="/static/css/common/base.css">
<link rel="stylesheet" href="/static/fly/css/global.css">
<link rel="stylesheet" href="/static/css/common/common.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_4mt5ecxh3zy0t3xr.css">
<script>
    /**
     * Created by evil-kingJ on 2017/2/27.
     */
    $(function () {
        //导航下拉菜单添加样式
        $('.openMenu').mouseover(function () {
            $('.menu').css('display','block');
            $('.menu').addClass('in');
        });
        $('.openMenu').mouseout(function () {
            $('.menu').removeClass('in');
            $('.menu').css('display','none');
        });


        $(".allSearch").bind('input propertychange',function(){
            if ($(".allSearch").val() == "") {
                $('.searchWrap').removeClass('focusInput');
            } else{
                $('.searchWrap').addClass('focusInput');
            }
        });

        $('.aWrap').mouseenter(function () {
            $('.subNav').slideDown('slow');
        });
        $('.up').click(function () {
            $(".subNav").slideUp('slow');
        });

        var nav_bar = $('.navBox li a');
        var url = window.location.href;
        nav_bar.each(function(index,item){
            var $this = $(this);
            var href = $this.attr('href');
            if (url.indexOf(href) != -1) {
                var my_html = $(this).text();
                $('.aWrap a').html(my_html);
                $(".subNav").slideUp('slow');
            }
        });

    });
</script>
